4d57654cb55cc9e5b79eb78556b92558ae866d3c,org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor/features/ConnectionReconnectFeature.java,ConnectionReconnectFeature,postReconnect,#IReconnectionContext#,43
Before Change
((CompositeActor) relationContainer).getRelations().add(newRelation);
}
}
((Linkable)oldBO).unlink(relation);
((Linkable)startBO).unlink(relation);
((Linkable)endBO).unlink(relation);
((Linkable)startBO).link(newRelation);
After Change
NamedObj startBO = (NamedObj) getBusinessObjectForPictogramElement(startAnchor);
try {
((Linkable)oldBO).unlink(relation);
((Linkable)startBO).unlink(relation);
((Linkable)endBO).unlink(relation);
// Only check this after all the unlink/link actions, as relation and newRelation might be the same instance,